import * as VueRouter from 'vue-router'

const routes:VueRouter.RouteRecordRaw[] = [
    {
        path:"/",
        redirect:"/home"
    },
    {
        path:"/home",
        component:()=>import("@/view/Home/index.vue")
    }
]

const router = VueRouter.createRouter({
    history:VueRouter.createWebHashHistory(),
    routes
})

export default router 